/*
 * @Author: taoke
 * @Date: 2022-05-12 09:27:59
 * @LastEditors: taoke
 * @LastEditTime: 2022-05-12 09:39:07
 * @Description:
 * @FilePath: \yunying-sys-cli4\src\mixins\tablePaginationMixin.js
 */
export const tablePaginationMixin = {
  data() {
    return {
      total: 0,
      searchParams: {
        pageNum: 1,
        pageSize: 10
      }
    }
  },
  methods: {
    /* 搜索 */
    toSearch() {
      this.searchParams.pageNum = 1
      this.searchList()
    }
  }
}
